package com.asiainfo.lop;

import android.content.Intent;
import android.widget.TextView;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;

/**
 * Created by wucm(wucm@asiainfo.com) on 2016/5/31 16:10.
 */
@EActivity(R.layout.myself_setting)
public class MyselfSettingActivity extends BaseActivity {
    @ViewById(R.id.top_bar_tv)
    TextView topbarTv;

    @Click({R.id.btn_back_iv, R.id.btn_back_tv, R.id.message_deal_cancel})
    void back() {
        this.finish();
    }

    @AfterViews
    void setTopBarTv() {
        topbarTv.setText("设置");
    }

    @Click(R.id.logout)
    void logout() {
        this.finish();
        Intent intent = new Intent(this, LoginActivity_.class);
        startActivity(intent);
    }
}
